package com.enation.app.javashop.core.base;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 域名配置
 *
 * @author kingapex
 * @version 1.0
 * @since 7.0.0
 * 2018/6/20
 */
@Configuration
@ConfigurationProperties(prefix = "javashop.domain")
public class DomainSettings {

    /**
     * 主域名
     */
    private String main;

    /**
     * 买家端域名
     */
    private String buyer;

    /**
     * 手机买家端域名
     */
    private String mobileBuyer;


    public String getMain() {
        return main;
    }

    public void setMain(String main) {
        this.main = main;
    }

    public String getBuyer() {
        return buyer;
    }

    public void setBuyer(String buyer) {
        this.buyer = buyer;
    }

    public String getMobileBuyer() {
        return mobileBuyer;
    }

    public void setMobileBuyer(String mobileBuyer) {
        this.mobileBuyer = mobileBuyer;
    }

    @Override
    public String toString() {
        return "DomainSettings{" +
                "main='" + main + '\'' +
                ", buyer='" + buyer + '\'' +
                ", mobileBuyer='" + mobileBuyer + '\'' +
                '}';
    }
}
